package com.example.demo.constants.pojo;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Api(tags = "用户实体")
@ApiModel(value = "RoleInfo" ,description = "角色实体")
public class RoleInfo {
    
	/*
	 * 角色Id
	 */
	@ApiModelProperty(value = "角色编号", name = "角色编号", notes = "角色编号")	
	private String roleId;
	
	/*
	 * 角色名称
	 */
	@ApiModelProperty(value = "角色名称", name = "角色名称", notes = "角色名称")	
	private String roleName;
	
	/*
	 * 部门Id
	 */
	@ApiModelProperty(value = "角色部门ID", name = "角色部门ID", notes = "角色部门ID")	
	private String departmentId;	
	
	/*
	 * 角色权限
	 */
	@ApiModelProperty(value = "角色权限", name = "角色权限", notes = "角色权限")	
	private List<PermissionInfo> permissions=new ArrayList<PermissionInfo>();
	
}
